-
Home
-
Advanced Coupons – WooCommerce Coupons & Store Credit
-
4.6.8 (latest)
-
Code
-
Classes
- Admin
| Total Complexity |
51 |
| Dependencies |
5 |
| Dependents |
3 |
| Total lines |
420 |
| Lines of code |
194 |
| Logical lines of code |
88 |
| Comment lines |
165 |
| Methods |
13 |
| Properties |
4 |
Methods 13
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| _sanitize_product_data() |
A |
48 |
12 |
32 |
| ajax_save_bogo_deals() |
A |
43 |
10 |
48 |
| ajax_clear_bogo_deals() |
A |
48 |
8 |
34 |
| _set_notice_settings_default_values() |
S |
59 |
5 |
15 |
| append_bogo_discount_to_edit_order_coupon_value() |
S |
65 |
4 |
8 |
| _migrate_coupon_types_to_bogo_on_activate() |
S |
58 |
2 |
18 |
| get_instance() |
S |
70 |
2 |
6 |
| initialize() |
S |
67 |
2 |
8 |
| run() |
S |
67 |
2 |
7 |
| __construct() |
S |
70 |
1 |
6 |
| register_bogo_coupon_type() |
S |
75 |
1 |
4 |
| _save_bogo_deals() |
S |
72 |
1 |
5 |
| activate() |
S |
82 |
1 |
3 |